package com.chzu.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chzu.mapper.ImagesMapper;
import com.chzu.pojo.Images;
import com.chzu.service.ImageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author lz
 * @Version 1.0
 * @Company 滁州大健康与养老产业研究院
 * @ClassName ImageServiceImpl
 * @Description TODO
 * @Date 2022/02/09 20:28
 */
@Service
public class ImageServiceImpl extends ServiceImpl<ImagesMapper, Images> implements ImageService {

    @Resource
    private ImagesMapper imagesMapper;

    /**
     * 获取所有图片信息
     * @return 图片列表
     */
    @Override
    public List<Images> getAllImage() {
        return imagesMapper.getAllImage();
    }
}
